|
currentlimit4 2.2.0
|
Current Limit 4 Click Example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Current Limit 4 Click Example.
This library contains API for the Current Limit 4 Click driver for the current limiting to a certain value and displays the sources a current proportional to the load current [A].
The demo application is composed of two sections :
Initialization of I2C and ADC module and log UART. After driver initialization, the app executes a default configuration and set the minimum current limit threshold to 1.0 [A].
This example demonstrates the use of the Current Limit 4 Click board. The demo application displays the source current proportional to the load current and an appropriate message when the current reaches the limit. Results are being sent to the UART Terminal, where you can track their changes.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |